<template>
  <div class="page-common">
    <h4 v-text="info.title"></h4>
    <p class="line"></p>
    <p v-html="info.content"></p>
  </div>
</template>
<script>
  export default {
    data() {
      return {
        msg:'我的订单',
        id:0, //代表的是当前的商品id
        info:{}
      }

    },
    components: {},
    created(){
        this.id = this.$route.params.id;
        this.getdata();
    },
    methods:{
        getdata(){
            this.axios.get("/static/getdesc.json",{}).then( res => this.info = res.data.message[0])
        }
    }
  }
</script>
<style scoped>
  .page-common{
    padding: 5px;
  }
  .page-common h4{
    color: #0094ff;
  }

  .page-common .line{
    height: 1px;
    border:1px solid rgba(0,0,0,0.3);
  }
  .gomeImgLoad{
    width: 100%;
  }
</style>
